<div id="checkoutlist"></div>
<div class="header">
<p>
Next: [[cvs: The history file#The history file|history file]], Previous: [[cvs: Ignoring files via cvsignore#Ignoring files via cvsignore|cvsignore]], Up: [[cvs: Reference manual for Administrative files#Reference manual for Administrative files|Administrative files]] &nbsp; |[[cvs: Index#SEC_Contents|Contents]]||[[cvs: Index#Index|Index]]|</p>
</div>

----

<div id="The-checkoutlist-file"></div>
=== The checkoutlist file ===
<div id="index-checkoutlist"></div>

It may be helpful to use <small>CVS</small> to maintain your own
files in the &lsquo;<tt>CVSROOT</tt>&rsquo; directory.  For example,
suppose that you have a script &lsquo;<tt>logcommit.pl</tt>&rsquo;
which you run by including the following line in the
&lsquo;<tt>commitinfo</tt>&rsquo; administrative file:

<div class="example" style="margin-left: 3.2em">
 ALL   $CVSROOT/CVSROOT/logcommit.pl
</div>

To maintain &lsquo;<tt>logcommit.pl</tt>&rsquo; with <small>CVS</small> you would
add the following line to the &lsquo;<tt>checkoutlist</tt>&rsquo;
administrative file:

<div class="example" style="margin-left: 3.2em">
 logcommit.pl
</div>

The format of &lsquo;<tt>checkoutlist</tt>&rsquo; is one line for each
file that you want to maintain using <small>CVS</small>, giving
the name of the file.

After setting up &lsquo;<tt>checkoutlist</tt>&rsquo; in this fashion,
the files listed there will function just like
<small>CVS</small>&rsquo;s built-in administrative files.  For example,
when checking in one of the files you should get a
message such as:

<div class="example" style="margin-left: 3.2em">
 cvs commit: Rebuilding administrative file database
</div>

and the checked out copy in the &lsquo;<tt>CVSROOT</tt>&rsquo;
directory should be updated.

Note that listing &lsquo;<tt>passwd</tt>&rsquo; (see [[cvs: Setting up the server for password authentication#Setting up the server for password authentication|Password authentication server]]) in &lsquo;<tt>checkoutlist</tt>&rsquo; is not
recommended for security reasons.

For information about keeping a checkout out copy in a
more general context than the one provided by
&lsquo;<tt>checkoutlist</tt>&rsquo;, see [[cvs: Keeping a checked out copy#Keeping a checked out copy|Keeping a checked out copy]].

This document was generated on <i>a sunny day</i> using [http://www.nongnu.org/texi2html/ <i>texi2html</i>].
